<!DOCTYPE html >
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>靖青个人博客-句子迷</title>
    <meta name="keywords" content="个人博客,靖青个人博客,靖青"/>
    <meta name="description" content="互联网从业者，java开发的cms系统"/>
    <link href="<%=request.getContextPath() %>/resources/css/base.css" rel="stylesheet">
    <link href="<%=request.getContextPath() %>/resources/css/style.css" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="<%=request.getContextPath() %>/resources/js/modernizr.js"></script>
    <![endif]-->
    <style type="text/css">
        .jzm_title {
            color: #333;
            font-size: 14px;
            margin: 20px 0 10px 0;
            clear: both
        }
    </style>
</head>
<body>
<header>
    <div id="logo"><a href="/"></a></div>
    <nav class="topnav" id="topnav">
        <c:forEach items="${navChannels}" var="nav">
            <a href="${nav.customLinkUrl}"><span>${nav.name}</span><span class="en">${nav.pinyinStr}</span></a>
        </c:forEach>
    </nav>
</header>
<article class="blogs">
    <h1 class="t_nav"><span>世间安得两全法，不负如来不负卿</span><a href="/" class="n1">网站首页</a><a href="/blog/tpl/web/share"
                                                                                    class="n2">句子迷</a></h1>

    <div class="newblog left">
        <c:forEach items="${datas.datas}" var="data">
            <p class="jzm_title" style=" text-indent:2em;padding-right: 5em;line-height: 2em;">
                    <c:if test="${ data.attachFileName != null  }">
                        <img src="${data.attachFileName}" >
                    </c:if>
                    ${data.content}
            </p>
                         <%--<p class="dateview"><span>发布时间：<fmt:formatDate value="${data.publishDate }" pattern="yyyy-MM-dd HH:mm:ss"/></span><span>作者：${data.author }</span><span>分类：[<a--%>
                             <%--href="/news/life/">${data.cname}</a>]</span>--%>
                     <%--</p>--%>
<%--                 <figure>
                         <c:if test="${ data.attachFileName != null  }">
                             <img src="${data.attachFileName}">
                         </c:if>
                     </figure>
                     <ul class="nlist">
                         <p>${fn:substring(data.content, 0, 150)}...</p>
                         <a title="${data.title}" href="/blog/tpl/web/template/${data.id}" target="_blank" class="readmore">阅读全文>></a>
                     </ul>--%>
            <div class="line"></div>
        </c:forEach>
        <div class="blank"></div>
        <div class="ad">
            <img src="images/ad.png">
        </div>
        <div class="page position-relative">
            <jsp:include page="/resources/pages/index_pager.jsp">
                <jsp:param value="${datas.total }" name="totalRecord"/>
                <jsp:param value="/blog/tpl/web/share" name="url"/>
            </jsp:include>
        </div>
    </div>
    <aside class="right">
        <div class="rnav">
            <%--      <ul>
                   <li class="rnav1"><a href="/download/" target="_blank">日记</a></li>
                   <li class="rnav2"><a href="/newsfree/" target="_blank">程序人生</a></li>
                   <li class="rnav3"><a href="/web/" target="_blank">欣赏</a></li>
                   <li class="rnav4"><a href="/newshtml5/" target="_blank">短信祝福</a></li>
                 </ul>      --%>
            &nbsp;&nbsp;
        </div>
        <div class="news">
            <h3>
                <p>最新<span>文章</span></p>
            </h3>
            <ul class="rank">
                <c:forEach items="${latestTopics }" var="latestTopics">
                    <li><a href="/blog/tpl/web/template/${latestTopics.id}" title="${latestTopics.title}"
                           target="_blank">${latestTopics.title}</a></li>
                </c:forEach>
            </ul>
            <h3 class="ph">
                <p>点击<span>排行</span></p>
            </h3>
            <ul class="paih">
                <c:forEach items="${mostClickTopics }" var="mostClickTopics">
                    <li><a href="/blog/tpl/web/template/${mostClickTopics.id}" title="${mostClickTopics.title}"
                           target="_blank">${mostClickTopics.title}</a></li>
                </c:forEach>
            </ul>
        </div>
        <div class="visitors">
            <h3><p>华丽分割</p></h3>
            <ul>

            </ul>
        </div>
        <jsp:include page="baidu_share.jsp"/>
    </aside>
</article>
<jsp:include page="footer.jsp"/>
<script src="<%=request.getContextPath() %>/resources/js/silder.js"></script>
</body>
</html>